package com.ron.ronmall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author Ron
 * @description
 * 1、开启服务注册发现
 * 2、配置Nacos服务注册相关信息
 * @date 15:59 2021/3/6
 * @param
 * @return
 **/
@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class RonmallGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(RonmallGatewayApplication.class, args);
    }

}
